#ifndef CSE220_project2_common_h
#define CSE220_project2_common_h

#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <time.h>

#define FORM_FEED_CHAR          '\f'
#define MAX_FILE_NAME_LENGTH    32
#define MAX_SOURCE_LINE_LENGTH  256
#define MAX_PRINT_LINE_LENGTH   80
#define MAX_LINES_PER_PAGE      50
#define DATE_STRING_LENGTH      26

typedef enum {
	FALSE,
	TRUE,
} BOOLEAN;

FILE *init_lister(const char * file_name, char* source_file_name, char* date);
BOOLEAN get_source_line(FILE* file, const char* src_name, const char* todays_date);
void print_line(char* line, const char* source_name, const char* date_to_print, int line_number);

#endif
